package com.cloudfunx.common.constant;

/**
 * @author linjiayu
 * @date 2019-07-19
 */
public class ConstConfig {
    public static final String LOGIN_ADMIN = "loginAdmin";
    public static final String LOGIN_ADMIN_ROLE = "%s:rights";

    public static final String PT = "/pt/";
    public static final String PB = "/pb/";

    public static final int COMMON_ZERO = 0;
    public static final int COMMON_ONE = 1;
    public static final int COMMON_TWO = 2;
    public static final int COMMON_THREE = 3;
    public static final int COMMON_FOUR = 4;
    public static final int COMMON_FIVE = 5;
    public static final int COMMON_HTTP_OK = 200;

    public static final String ALL_RIGHT = "allRights";
    public static final String ROLE_RIGHT_KEY = "role:%s";
    public static final String TOKEN_KEY = "tokens:%s";
    public static final String APP_TOKEN_KEY = "app-tokens:%s";
    public static final String MINI_PRO_TOKEN_KEY = "mini-tokens:%s";
    public static final String MP_TOKEN_KEY = "mp-tokens:%s";

    public static final String RAND_CODE_KEY = "randCode:%s";
    public static final String MESSAGE_CODE = "msgCode:%s";

    public static final String ORDER_KEY = "order:%s";
    public static final String ORDER_PROCESS_MESSAGE_KEY = "order-message";

}
